package org.catspaw.cherubim.security;

import org.catspaw.cherubim.security.rbac.User;

public class DefaultPrincipal implements Principal {

	private User	user;

	public DefaultPrincipal(User user) {
		this.user = user;
	}

	public User getUser() {
		return user;
	}

	public String getName() {
		return getUser().getUsername();
	}
}
